*{
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "League Spartan", serif;
  font-weight: 700;
}
/*Rooting The Colors*/
:root {
  /* Theme 1 */
          /*Background*/
  --theme1-main-bg-dark-blue: hsl(222, 26%, 31%);
  --theme1-toggle-bg-dark-blue: hsl(223, 31%, 20%);
  --theme1-screen-bg-dark-blue: hsl(224, 36%, 15%);

          /*Keys*/
  --theme1-key-bg-dark-blue: hsl(225, 21%, 49%);
  --theme1-key-shadow-dark-blue: hsl(224, 28%, 35%);

  --theme1-key-bg-red: hsl(6, 63%, 50%);
  --theme1-key-shadow-dark-red: hsl(6, 70%, 34%);

  --theme1-key-bg-light-grayish-orange: hsl(30, 25%, 89%);
  --theme1-key-shadow-grayish-orange: hsl(28, 16%, 65%);

           /*Text*/
  --theme1-text-dark-grayish-blue: hsl(221, 14%, 31%);
  --theme1-text-white: hsl(0, 0%, 100%);

}


body{
  display: grid;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: var(--theme1-main-bg-dark-blue);
}


#calc{
  color: var(--theme1-text-white);
  font-size: 26px;
}



.slider{
  width: 70px;
  height: 25px;
  background-color: var(--theme1-screen-bg-dark-blue);
  border-radius: 2rem;
  margin-bottom: 1rem;

}

#dot{
  width: 16px;
  height: 16px;
  border-radius: 1rem;
  background-color: var(--theme1-key-bg-red);
  position: relative;
  top: 50%;
  left: 5px;
  transform: translateY(-50%);
  transition: transform 0.4s ease-in-out, left 0.4s ease-in-out;
}
#dot:hover{
  cursor: pointer;

}

.theme-container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.3rem;
}

.theme-numbers{
  display: flex;
  width: 100%;
  justify-content: space-around;
  color: white;
  margin-bottom: 0.2rem;
  font-weight: lighter;
}

.theme-number-container{
  display: flex;
  align-items: center;
  gap: 1rem;
 
}

.theme-text{
  color: white;
  font-size: 12px;
}

.calc-text{
  color: white;
  font-size: 32px;
}


.screen-container{
  width: 450px;
  height: 100px;
  margin-bottom: 1.5rem;
  border-radius: 0.5rem;
  background-color: var(--theme1-toggle-bg-dark-blue);
  display: flex;
  justify-content: right;
  align-items: center;
  padding: 1rem;
  font-size: 32px;
  color: var(--theme1-text-white);
  
}


.button-container{
  display: grid;
  justify-content: center;
  grid-template-columns: repeat(4,1fr);
  gap: 1rem;
  min-height: 400px;
  padding: 1rem;
  border-radius: 0.5rem;
  background-color: var(--theme1-toggle-bg-dark-blue);
  
}

button {
  border-radius: 0.5rem;
  font-size: 32px;
  height: 55px; 
  display: flex; 
  justify-content: center; 
  align-items: center; 
  text-align: center; 
  padding: 0; 
  background-color: var(--theme1-key-bg-light-grayish-orange);
  color: var(--theme1-text-dark-grayish-blue);
  box-shadow: inset 0px -4px 0px 0px var(--theme1-key-shadow-grayish-orange);
}

button:hover{
  background-color: hsl(30, 25%, 99%);
}
.bottom-buttons{
  width: 100%;
  grid-column: span 4;
  display: flex;
  justify-content: space-around;
  gap: 1rem;

}

#reset-btn, #equals-btn{
  width: 100%;

}

#reset-btn{
background-color: var(--theme1-key-bg-dark-blue);
color: var(--theme1-text-white);
box-shadow: inset 0px -4px 0px 0px var(--theme1-key-shadow-dark-blue);
}

#reset-btn:hover{
background-color: hsl(225, 21%, 59%);
}

#equals-btn{
background-color: var(--theme1-key-bg-red);
color: var(--theme1-text-white);
box-shadow: inset 0px -4px 0px 0px var(--theme1-key-shadow-dark-red);
}

#equals-btn:hover{
  background-color: hsl(6, 63%, 60%)

}

#del-btn{
background-color: var(--theme1-key-bg-dark-blue);
color: var(--theme1-text-white);
box-shadow: inset 0px -4px 0px 0px var(--theme1-key-shadow-dark-blue);
}

#del-btn:hover{
  background-color: hsl(225, 21%, 59%);

}

@media screen and (max-width: 450px) {
  .calculator {
    width: 90%;
    max-width: 350px; 
  }

  .screen-container {
    width: 350px;
    height: 80px;
    font-size: 24px;
    padding: 0.8rem;
  }
  .theme-container{
    width: 350px;
    margin: 0.5rem;

  }

  .button-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.7rem;
    padding: 0.5rem;
    width: 350px;
  }

  button {
    font-size: 24px;
    height: 50px;
  }

  .bottom-buttons {
    gap: 0.5rem;
  }

  #reset-btn, #equals-btn {
    font-size: 20px;
    height: 45px;
  }
}


  

 
